<template>
  <div>
		<n-descriptions bordered label-placement="left" :column="1">
			<n-descriptions-item label="学号">
				{{props.entry.no}}
			</n-descriptions-item>
			<n-descriptions-item label="姓名">
				{{props.entry.name}}
			</n-descriptions-item>
			<n-descriptions-item label="视频时长(秒)">
				{{props.entry.total}}
			</n-descriptions-item>
			<n-descriptions-item label="有效语音时长(秒)">
				{{props.entry.val}}
			</n-descriptions-item>
			<n-descriptions-item label="语音字数">
				{{props.entry.content.length}}
			</n-descriptions-item>
			<n-descriptions-item label="语音时长占比">
				{{((props.entry.val / props.entry.total) * 100).toFixed(2)}}%
			</n-descriptions-item>
			<n-descriptions-item label="关键词覆盖率">
				0
			</n-descriptions-item>
		</n-descriptions>
  </div>
</template>

<script setup>
const props = defineProps(['entry'])
console.dir(props.entry)
</script>

<style scoped lang="scss">
</style>